package cn.stylefeng.guns.modular.business.frequency.orderroyalty.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import cn.stylefeng.guns.modular.business.frequency.orderroyalty.entity.OrderRoyalty;
import io.swagger.models.auth.In;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 提成记录表 Mapper 接口
 *
 * @author yujie
 * @date 2023/05/09 17:16
 */
public interface OrderRoyaltyMapper extends BaseMapper<OrderRoyalty> {

    List<OrderRoyalty> getListByUserIdsAndMonth(@Param("userIds") List<String> userIds, @Param("month") String month);

    void updateStatusByOrderId(@Param("status") Integer status, @Param("orderId") Long orderId);
}